Forgets the in-memory content associated with file (without touching the file on disk) and fires onFileClosed.