private static bool FileNameMatches(EpubFile file, string[] htmlFileName) { for (int i = 0; i < htmlFileName.Length; i++) { if (file.FileName() == htmlFileName[i]) { return(true); } } return(false); }