Created DataFile class with head method