private bool IsAviSynthFile(string file) { if (file.EndsWith(_avsExtension)) return true; else return false; }