import java.io.File;
import java.nio.file.Path;
import java.nio.file.Paths;

public class Main {

    public static void main(String[] args) {
	// write your code here
        File exampleFile = new File("C:\\Users\\tongwan\\Documents\\JI-9068226\\example.txt");
        assert exampleFile.length() == 10;
        File streamFile = new File("C:\\Users\\tongwan\\Documents\\JI-9068226\\example.txt:stream1");
        assert streamFile.length() == 8;

        Path streamPathViaFile = streamFile.toPath();
        Path streamPathViaPaths = Paths.get("C:\\Users\\tongwan\\Documents\\JI-9068226\\example.txt:stream1");
    }
}
