Fix how file modification check is done, and fix accidental extraneous