File discardFile = new File(filename); if (discardFile.exists()) { discardFile.delete(); } return true;
File discardFile = new File(filename); if (discardFile.exists()) { discardFile.delete();
    public static boolean deleteFile(String filename) {	File discardFile = new File(filename);	if (discardFile.exists()) {	    discardFile.delete();	}	return true;    }