updated the delete() function to support the remote machines and added the save() function to perform the guranteed file saving functionality..