Remove unused has_files()