fixed style, Makefile, removed useless files, and readPath takes in the filename