added flexible blockhash and filehash options