Two files to be one file

I already send you an example which does the reading and writing of a two columns ascii file . Start from that. You only need to create a 1D histogram and fill it. The page @Pnine pointed gives you plenty of examples showing how to do this simple task.