Added file IO and makefile