public static File createEmptyFile(File file) throws HyscaleException {
		if (file == null) {
			return null;
		}
		if (file.exists()) {
			return file;
		}
		file.getParentFile().mkdirs();
		try {
			if(file.createNewFile()){
				return file;
			}
		} catch (IOException e) {
			throw new HyscaleException(e, CommonErrorCode.FAILED_TO_WRITE_FILE, file.getName());
		}
		return null;
	}
Creates empty file if does not exist
@param file
@return file
@throws HyscaleException
commons/src/main/java/io/hyscale/commons/io/HyscaleFilesUtil.java