@staticmethod<EOL><INDENT>def __load(file_name):<DEDENT>
if os.path.exists(file_name) and not os.path.isfile(file_name):<EOL><INDENT>raise RuntimeError(<EOL>'<STR_LIT>')<EOL><DEDENT>if not os.path.exists(file_name):<EOL><INDENT>open(file_name, '<STR_LIT>').close()<EOL>return {}<EOL><DEDENT>cache_file_obj = open(file_name, '<STR_LIT:rb>')<EOL>try:<EOL><INDENT>file_cache_t.logger.info('<STR_LIT>', file_name)<EOL>start_time = timeit.default_timer()<EOL>cache = pickle.load(cache_file_obj)<EOL>file_cache_t.logger.debug(<EOL>"<STR_LIT>",<EOL>(timeit.default_timer() - start_time))<EOL>file_cache_t.logger.debug(<EOL>"<STR_LIT>",<EOL>file_name, len(list(cache.keys())))<EOL><DEDENT>except (pickle.UnpicklingError, AttributeError, EOFError,<EOL>ImportError, IndexError) as error:<EOL><INDENT>file_cache_t.logger.exception(<EOL>"<STR_LIT>",<EOL>error)<EOL>cache_file_obj.close()<EOL>file_cache_t.logger.info(<EOL>"<STR_LIT>",<EOL>file_name)<EOL>open(file_name, '<STR_LIT>').close()   <EOL>cache = {}                       <EOL><DEDENT>finally:<EOL><INDENT>cache_file_obj.close()<EOL><DEDENT>return cache<EOL>
Load pickled cache from file and return the object.