ability to define socket event on multiple files