Probably should check the return value from File.delete(), since it returns a boolean true/false if file was successfully deleted.