the histogram should be sent to a file with the same name as the input one, but with the suffix '.hist' (it should be concatenated to the original name) ...