def read_fakelc(fakelcfile):
try:<EOL><INDENT>with open(fakelcfile,'<STR_LIT:rb>') as infd:<EOL><INDENT>lcdict = pickle.load(infd)<EOL><DEDENT><DEDENT>except UnicodeDecodeError:<EOL><INDENT>with open(fakelcfile,'<STR_LIT:rb>') as infd:<EOL><INDENT>lcdict = pickle.load(infd, encoding='<STR_LIT>')<EOL><DEDENT><DEDENT>return lcdict<EOL>
This just reads a pickled fake LC.

Parameters
----------

fakelcfile : str
    The fake LC file to read.

Returns
-------

dict
    This returns an lcdict.