Homework 2-1 file and DB