def check_for_files(item_json):
    """Find all files and extentions of an item, add their size together.

    Arguments:
        item_json -- (json) the json of the item being parsed.

    Returns:
        item_data -- (dictionary) a dictionary including a list of all
                        file jsons attached to the item, the total size of
                        the item, and the number of files found within the
                        item.

    """
    file_list = []
    size = 0
    try:
        files = item_json["files"]
        for sb_file in files:
            file_list.append(sb_file)
            size += sb_file["size"]
    except KeyError:
        pass  # No files
    try:
        extentions = item_json["facets"]
        for extention in extentions:
            try:
                files = extention["files"]
                for sb_file in files:
                    file_list.append(sb_file)
                    size += sb_file["size"]
            except KeyError:
                pass  # No files
    except KeyError:
        pass  # No extentions
    num_files = len(file_list)
    item_data = {"file_list": file_list,
                 "size": size,
                 "num_files": num_files}
    return item_data