Adding missing file
diff --git a/README.md b/README.md
index a657932..4038de3 100644
--- a/README.md
+++ b/README.md
@@ -49,5 +49,4 @@
## License
-[Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0). Please sign
-our [Contributor Agreement](http://prediction.io/cla) before submitting a pull request.
+[Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).
diff --git a/lib/predictionio/file_exporter.rb b/lib/predictionio/file_exporter.rb
new file mode 100644
index 0000000..d883f0a
--- /dev/null
+++ b/lib/predictionio/file_exporter.rb
@@ -0,0 +1,29 @@
+module PredictionIO
+ # This class contains methods that allow you to export data for import though:
+ #
+ # $ pio import FILENAME
+
+ class FileExporter
+
+ def initialize(filename)
+ @filename = filename
+ @file = File.open(@filename, 'w')
+ end
+
+ def create_event(event, entity_type, entity_id, optional = {})
+
+ h = optional
+ h.key?('eventTime') || h['eventTime'] = DateTime.now.to_s
+ h['event'] = event
+ h['entityType'] = entity_type
+ h['entityId'] = entity_id
+
+ json = h.to_json
+ @file.write("#{json}\n")
+ end
+
+ def close
+ @file.close
+ end
+ end
+end