assignment, file parsing