Once you have finished working with a file, it must be closed. You should always close a file as soon as it is finished with, so that it can be accessed by other users. If you do not close the file properly, you may find that the operations you have carried out (on the file) are not saved.