reading file line by line test