code: @Override
      protected void doAttach() throws Exception {
          if (file == null) {
              // Remove the "file:///"
              // LocalFileName localFileName = (LocalFileName) getName();
              String fileName = rootFile + getName().getPathDecoded();
              // fileName = UriParser.decode(fileName);
              file = new File(fileName); // NOSONAR
          }
      }
docs: Attaches this file object to its file resource.