title: How to check a file extension from file path?
body: <p>I am creating a portal in which i am uploading multiple file, when iam retrieving them i am unable to know what types of file they are(images,audio and video) is there any way to find out?? </p>