Implement the fileManager properly in code now