public boolean deleteFileFromTmp(String filename){
  boolean result;
  File file;
  result=true;
  file=new File(getTmpDirectory() + File.separator + filename);
  if (file.exists())   result=file.delete();
  return result;
}

public boolean deleteFileFromTmp ( String filename ) { boolean result ; File file ; result = true ; file = new File ( getTmpDirectory ( ) + File . separator + filename ) ; if ( file . exists ( ) ) result = file . delete ( ) ; return result ; }
removes the file from the tmp directory .
