Support Getting Input From Text File

If recieving xcode output from a file, need to add support for using 'each_line' instead of 'each' for ruby 1.9+.

As of ruby 1.9.X, String#each is no longer supported - documentation: http://ruby-doc.org/core-1.9.3/String.html

Also added a unit test to highlight the problem and show the fix
Merge pull request #26 from LowAmmo/support-output-file

Support Getting Input From Text File