Ignore URIs when performing is_file() check.