separated files one to read file in and one to process, also got a header file