public static Project load(Path location, Decoder decoder) {
        
        try {
            final byte[] content = Files.readAllBytes(location);
            return load(new String(content, StandardCharsets.UTF_8), decoder);
            
        } catch (final IOException ex) {
            throw new SpeedmentConfigException(
                "Could not load json-file from path '" + location + "'.", ex
            );
        }
    }
Loads a project from a UTF-8 encoded file.

@param location  for the UTF-8 encoded file
@param decoder   the decoder to use
@return          that was loaded

@throws SpeedmentConfigException if the file could not be loaded
runtime-parent/runtime-config/src/main/java/com/speedment/runtime/config/util/DocumentTranscoder.java