fixing error when processing event for file that never existed