detect file presence correctly
Merge pull request #9 from bensigelman/master

detect file presence correctly