def import_file_object(filename):
try:<EOL><INDENT>handle = open(filename, '<STR_LIT:r>')<EOL>file_obj = handle.read()<EOL>dict_obj = json.loads(file_obj)<EOL><DEDENT>except IOError as e:<EOL><INDENT>logger.critical(<EOL>'<STR_LIT>' % (str(e), str(filename))<EOL>)<EOL>raise e<EOL><DEDENT>except ValueError:<EOL><INDENT>logger.info(<EOL>'<STR_LIT>' %<EOL>(inspect.stack()[<NUM_LIT:0>][<NUM_LIT:3>], str(filename))<EOL>)<EOL>return file_obj    <EOL><DEDENT>return dict_obj<EOL>
Summary:
    Imports block filesystem object
Args:
    :filename (str): block filesystem object
Returns:
    dictionary obj (valid json file), file data object