C# dynamically open and save files