Changed the event handler to return full paths instead of a name