Fixed file loading through the command line.

See title