+ } finally {
+ if (null != fileStream) {
+ try {
+ fileStream.close();
+ } catch (IOException e) {
+ Activator
+ .getDefault()
+ .getLogManager()
+ .log(Level.ERROR.ordinal(),
+ new Date(),
+ "There is an error while closing the file stream.\n"
+ + Utility.getSimulatorErrorString(
+ e, null));
+ }
+ }