private File toFile(final Properties azotProperties, final String key, final String defaultValue) {
		File file = null;
		if (azotProperties.getProperty(key) != null) {
			try {
				final String fileName = azotProperties.getProperty(key);
				if(fileName != null) {
					file = new File(fileName);
					if(!file.exists()) {
						file.mkdirs();
					}
				}
			} catch (Exception e) {
				e.printStackTrace();
				file = null;
			}
		}
		if (file == null) {
			file = new File(defaultValue);
		}
		return file;
	}