private static InputStream storeInputStreamToFile( String filePath, Business.InputAtom inputAtom, boolean closeInput) { try { return Persistence.storeInputStream( new FileOutputStream(filePath), inputAtom.inputStream, closeInput, " corresponding to the file '" + filePath + "'"); } catch (FileNotFoundException exception) { if (log.isWarnEnabled()) { log.warn("Could not access to the file '" + filePath + "' for writing", exception); } return null; } }