Worked on fixing file reading and input checking.

Signed-off-by: fisherjk <fisherjk@.uwec.edu>