Don't process events when we're uploading a file