adds histogram file