Created the method SaveFile in the Utilities class

Instead of having a method in the main form to save a file, it was moved
to the Utilities class, so it could be used in a another class