file read and makefile changes