removing tmp file from java class