Added events for file uploads