Changed: Now only read one file at a time so it can be integrated
into the makefile macro