histin/histout specify hist file
Fixed bug in `histin` function