@staticmethod
def _format_file_obj(obj_list, formatted_obj):
    """
        Function for formatting file object from API result
        :param obj_list: list, object attribute value list
        :param formatted_obj: dict
        :return: dict
        """
    attr_with_na_value_index_dict = {'sha256hash': (3, ('n/a',)),
        'sha1hash': (5, ('n/a',)), 'md5hash': (7, ('n/a',)), 'file_path': (
        8, ('n/a',)), 'file_name': (1, ('n/a',)), 'file_size': (9, ('0',))}
    for key, value in attr_with_na_value_index_dict.items():
        if obj_list[value[0]].strip() not in value[1]:
            formatted_obj[key] = obj_list[value[0]].strip()
    formatted_obj['type'] = obj_list[0].strip()
    formatted_obj['timestamp'] = obj_list[10].strip()
    formatted_obj['event_count'] = '1'
    return formatted_obj
