I have a file * that won't save anything thats fprintfed to it inside a while loop apparently because I don't close the file * until after the while loop and I have been terminating the program before the execution of the while(1) infinite loop terminates.