python script to parse/plot for file base/bulk top

usage:
test.py -i <inputfile> -o <outputfile>
The input file should be base.top or bulk.top