When the virtual machine terminates, any abstract files which have been sent deleteOnExit() will be deleted. This will only happen when the virtual machine terminates normally as described by the Java Language Specification section 12.9.
Mark a path to be deleted when FileSystem is closed. When the JVM shuts down, all FileSystem objects will be closed automatically. Then, the marked path will be deleted as a result of closing the FileSystem. The path has to exist in the file system.
@param f the path to delete.
@return true if deleteOnExit is successful, otherwise false.