processFile.delete();
}
// Write the file
try{
Node node = song.writeObject(null);
Document doc = node.getOwnerDocument();
doc.appendChild( node); // Add Root to Document
FileOutputStream fos = new FileOutputStream(song.getFilePath());
Source source = new DOMSource(doc);