I think your meant to use is_readable() here
Merge pull request #15 from rlerdorf/patch-1

I think your meant to use is_readable() here