reading input data from field.txt