Added file events/callbacks