public static void ReadBinds() { Actions = new ConsoleActions(); var path = Path.Combine(FileSystem.GetMyConfigPath(), FILENAME); if (!File.Exists(path)) { return; } customKeyBinds.Clear(); using (var file = new BinaryReader(File.Open(path, FileMode.Open))) { BinaryUtils.ReadList(file, customKeyBinds, (x) => KeyBinding.Read(x)); } }