Pushed makefile,added the file read function