in reply to How to use 2 files for calculating charges

It would make it easier for people to understand your question if you change the <code> tags to surround actual code, and have your question as plain text.