public static int CheckPasswordsFromFileToboggan(string filename) { return(FileReader.ReadFileOfStrings(filename).Count(line => ParseAndCheckToboggan(line))); }