Use the more expressive File.basename
Merge pull request #12 from ericmathison/file-name

Refactor using File.basename