{
//=== See if the file exists, if so overwrite it, if not create a new file and write to it
File newFile = new File(fileName);
if (newFile.exists())
{
graphWriter.writeGraph(graph, newFile);
}
else
{
newFile.createNewFile();
graphWriter.writeGraph(graph, newFile);