static void Main(string[] args) { if (args.Length != 1) { Console.WriteLine("Usage: splitter <filename>"); return; } ASFSplit sp = new ASFSplit(args[0]); sp.DoSplit(); }