homework 1 basic file