Added command line argument test to loading of file