Added file closing to the list of tracked events.
Added support for file tracking being used to track when
a file has been written to.