add a distinct tool to check if hsgr file is valid, closes #1081