Adding a method to access lines from the command line file name