Got some code for reading file input lines