Renamed "pathType" option to "hashTarget" and added the ability to generate hash based on file content