reading file code compiling...not sure if working yet