Updated so blank lines in input file are kept throughout so eval works properly