W-operators and generating functions of hurwitz numbers