public Path getAbsolutePath(String mayBeRelativePath){
    boolean relative=
      mayBeRelativePath.startsWith(".") ||
      (
        !mayBeRelativePath.contains(":\\")
        &&
        !mayBeRelativePath.startsWith("/")
      );
    try {
      return new Path(
        relative 
          ?new java.io.File(dir+mayBeRelativePath).getCanonicalPath()
          :mayBeRelativePath
      );
    } catch (Exception e) {
      throw new CannotLoadFileException(myFile, e);
    }
    
  }