Finished readFile class, fixed function to find temp_directory if not set to local