Programming assignment 2 file