add 'next' method to 'directory' events