Update FileMethods.java