Added operation type Consumer and implemented it with WriteTextFile.