def _load(optionsFile, key):
     opts = {}
     config = ConfigParser()
     tmpFile = tempfile.mkstemp()
     os.close(tmpFile[0])
     try:
         FileCodec.work(["-d", optionsFile, "-k", key, "-o", tmpFile[1]])
         config.readfp(open(tmpFile[1]))
     except Exception, _e:
         config.readfp(optionsFile)
'''
Created on 26 Feb 2013

@author: francis
'''

from dict.bin import FileCodec
import sys

FileCodec.work(sys.argv[1:])