Corrected constructor bug in FileManager