Fixed it so it works (uses basename rather than get_file_info. Also added readme info

I added a step by step info on the readme.
Fixed it so it works (uses basename rather than get_file_info. Also
added readme info
.ds
-gitignore
-ds_store
Merge pull request #1 from abkr/master

Fixed it so it works (uses basename() now), and added readme instructions