@@ -0,0 +1,958 @@
+/*%0A * Copyright 2015 The ISTLab. Use of this source code is governed by a GNU AFFERO GPL 3.0 license%0A * that can be found in the LICENSE file.%0A */%0A%0Apackage gr.aueb.dmst.istlab.unixtools.util;%0A%0Aimport java.io.File;%0Aimport java.io.FileInputStream;%0Aimport java.io.FileOutputStream;%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0Aimport java.io.OutputStream;%0A%0Apublic final class SettingsFileUtil %7B%0A%0A  public static InputStream createInputStream(String filename) throws IOException %7B%0A    File inputFile = new File(filename);%0A%0A    if (!inputFile.exists()) %7B%0A      inputFile.createNewFile();%0A    %7D%0A%0A    InputStream in = new FileInputStream(inputFile);%0A%0A    return in;%0A  %7D%0A%0A  public static OutputStream createOutputstream(String filename) throws IOException %7B%0A    File outputFile = new File(filename);%0A%0A    if (!outputFile.exists()) %7B%0A      outputFile.createNewFile();%0A    %7D%0A%0A    OutputStream out = new FileOutputStream(outputFile);%0A%0A    return out;%0A  %7D%0A%0A%7D%0A

Add utility class to create input-output streams