Switch from event to direct return result for displaying "Files not found"