Finish Reading file IO stuff for java