code: def parse_file(src):
      
      #clear the stack between parses
      if config.dest_dir == None:
          dest = src.dir
      else:
          dest = config.dest_dir
      output = get_output(src)
      output_file = dest + '/' + src.basename + '.min.js'
      f = open(output_file,'w')
      f.write(jsmin.jsmin(output))
      f.close()
      print "Wrote combined and minified file to: %s" % (output_file)
docs: find file in config and output to dest dir