Could anyone tell me how to list out all the files in a folder?
e.g. if I want to extract all the .jpeg files from a folder, how do i go about it?

Any help would be appreciated.

Thanks