hash_object() takes file, opts, not command line args
hash_object() stores file if -w passed