FileManager NextFile fix