diff --git a/spout/outputs.py b/spout/outputs.py
index <HASH>..<HASH> 100644
--- a/spout/outputs.py
+++ b/spout/outputs.py
@@ -8,3 +8,18 @@ class PrintOperation(Operation):
     """
     def perform(self, obj):
         print obj
+
+
+class FileOutputOperation(Operation):
+    """
+    Operation that writes each input item onto a separate line in a file.
+    """
+    def __init__(self, filename):
+        self.output = open(filename, 'w')
+
+    def perform(self, obj):
+        self.output.write(obj)
+
+    def __del__(self):
+        self.output.flush()
+        self.output.close()
Created operation to output plain text to a file.