If you don't close the fileWriter, you can't access the file again.