modified FileManager