added pipeFile function. Replaced Pongo