Used is_readable instead of file_exists