Use filereadable() instead of executable()
Merge pull request #1 from suy/filereadable

Use filereadable() instead of executable()