settings files will be opened with FileMode.Create
added IDisposable to Server