Improvements

-Changed the way the files list is generated.
-Implemented the file extension filter