Made findFiles more pythonic and implemented a basic removeEmptyFolders