Replace file_exists by is_readable

using is_readable tells whether a file exists and is readable.