added verbose mode to get_all_files