Why not move it to splitter.py? As I see, it's used only there.