Split listener to another file