Have pipping opening inFile and outFiles correctly