docs: @Override
  	public File decrypt(final File encrypted) throws Exception
  	{
  		if (decryptedFile == null)
  		{
  			final String filename = FilenameUtils.getBaseName(encrypted.getName());
  			decryptedFile = newDecryptedFile(encrypted.getParent(), filename + ".decrypted");
  		}
  
  		final FileOutputStream decryptedOut = new FileOutputStream(decryptedFile);
  		final CryptoCipherOutputStream cos = new CryptoCipherOutputStream(decryptedOut,
  			getModel().getCipher());
  		final InputStream fileInputStream = new FileInputStream(encrypted);
  
  		int c;
  		while ((c = fileInputStream.read()) != -1)
  		{
  			cos.write(c);
  		}
  
  		fileInputStream.close();
  		cos.close();
  		return decryptedFile;
  	}