public static boolean delete(final String filename) {
		File file = new File(filename);
		if (!file.isDirectory() && file.isFile()) {
			file.delete();
			if (!file.exists()) {
				return true;
			}
		}
		return false;
	}