Save the current file if it has been modified before running the tool. This is important if the tool makes any changes to the file.