Handled file parsing if no file name given from command line.