header for reading file
add func for reading from file