def readPPMTask(inputFile, outputFile) { makeGrayscale \ .fromColor(readPPM((inputFile))) \ .toColor() \ .writePPM((outputFile)) }