private static bool IsSourceFile(string file) { return file.EndsWith(".prolog") || file.EndsWith(".csv"); }