filter File extensions | cahnges originally by Kiran Rao (https://github.com/curioustechizen)
add ability to choose a folder | changes mostly by Alexis Lecanu (https://github.com/ravenfeld)