Refactored to eliminate depepdancy on roo. now using spreadsheet
directly. Also added dynamic output, the output file will be placed
next to the input file specified at the command line