This is meant to be a test of the event filter, don't replace it with a direct call to handleURIOrFile.
Aren't there other ways to submit events to an object?