Data science up for first round of review

1) Focus on rspec tests 
2) Stuck at trying to refactor the exception part
`end` at 13, 2 is not aligned with `filenames.each do |filename|` at 7, 4