Update ReadFile.rb

Added file-exporting function