package edu.grinnell.callaway;

public class filePathExpt
{
  // http://stackoverflow.com/questions/4871051/getting-the-current-working-directory-in-java
  public static void main(String[] args)
  {
    System.out.println("Working Directory = " + System.getProperty("user.dir"));
  }

}

@@ -25,16 +25,143 @@
 laway;%0A%0A
+import java.io.IOException;%0Aimport java.nio.charset.StandardCharsets;%0Aimport java.nio.file.Files;%0Aimport java.nio.file.Paths;%0A%0A
 public c
@@ -274,16 +274,111 @@
 in-java%0A
+  // http://stackoverflow.com/questions/14169661/read-complete-file-without-using-loop-in-java%0A
   public
@@ -409,16 +409,35 @@
 %5B%5D args)
+ throws IOException
 %0A  %7B%0A   
@@ -514,15 +514,147 @@
 dir%22));%0A
+    String text = new String(Files.readAllBytes(Paths.get(%22JSONfile.json%22)), StandardCharsets.UTF_8);%0A    System.out.println(text);%0A
   %7D%0A%0A%7D%0A

add file to string line