Working on file loading from command line problem