Add file-readable-p check to filter function