Output properly formated, need to resolve an IO error in the program, where the file is already being accessed.