reading a file for hw2cs351