rec.py also writes histograms into a file