Streamlined program and testing inFile.