private static File getBuildDir() {
      String result;

      result = System.getProperty("build.dir");
      assertNotNull("Expected build.dir system property is set to the project's target directory", result);

      return new File(result);
    }
Strip the directories from the configured filePath, replace them with homeDir, this way relocating
the files

@param homeDir
@param filePath absolute or relative file path
@return the absolute storage path of the relocated file
gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/ServerTestHelper.java