sch = new XmlTextWriter(filename, null);
IO exception was unhandled.
{"The process cannot access the file 'C:\\schedulers.xml' because it is being used by another process."}