added code to read in file contents and added headers to the modules header file