shell loop a file line by line