Remove unused events directory
add optional pattern