MAcro to convert a file into a histogram