def initializeItemWithFile(gc, item):
    """
    Initializes an item with an empty file, returning that file.

    :param gc: Instance of GirderClient with the correct permissions.
    :param item: The item (dictionary) to initialize.
    :returns: The newly created file
    :rtype: dict
    """
    return gc.post('/file', {'parentId': item['_id'],
                             'parentType': 'item',
                             'size': 0,
                             'name': item['name']})