use built-in is_readable()
Merge pull request #76 from bifek/tinyfixes

use built-in is_readable()