Fix filemanager not found in some commands.

FileManager is now instantiated in main() and stored in args