FileManager: Removed global vars