Split pipeline to own file