import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;

public class UTWR_Sample {
    public void utwrStream(File f) throws IOException {
        InputStream is = new FileInputStream(f);
        try {
            is.read();
        } finally {
            if (is != null) {
                is.close();
            }
        }
    }

    public void fpUTWRStream(File f) throws IOException {
        try (InputStream is = new FileInputStream(f)) {
            is.read();
        }
    }

}

@@ -1,24 +1,60 @@
+import java.io.BufferedInputStream;%0A
 import java.io.File;%0Aimp
@@ -50,16 +50,16 @@
 o.File;%0A
-
 import j
@@ -137,16 +137,45 @@
 tStream;
+%0Aimport java.util.Properties;
 %0A%0Apublic
@@ -556,24 +556,24 @@
 tream(f)) %7B%0A
-
             
@@ -600,10 +600,288 @@
 %0A    %7D%0A%0A
+    public void fpInitializeProperties(InputStream is, Properties props) %7B%0A        try (InputStream r = new BufferedInputStream(is)) %7B%0A            props.load(r);%0A        %7D catch (Exception e) %7B%0A            System.out.println(%22Failed to load properties: %22 + e);%0A        %7D%0A    %7D%0A%0A
 %7D%0A

add fp for utwr