Problem is File.Create
creates a file and returns you the FileStream
opened. So when you're trying to access it later you get exception. You've to close it prior to use it later.
Try this
using (File.Create("testsave.xml"))
{ }
Or
File.Create("testsave.xml").Close();