added the a more ruby-esque mac-centric file sample