fixed bug where files were incorrectly getting removed from file_dict when choose new files