I dont think deleteOnExit works since the file is deleted only during the virtual machine termination.
More information can be found
here you can try something like
delete.
file is not renamed because a file with the same name already exists.
[ June 16, 2008: Message edited by: Ravikanth kolli ]