def verify_filename(filename: str) ->str:
    """ Check file name is accurate

    Args:
        filename (str): String for file name with extension

    Raises:
        ValueError: Provide filename with extensions
        ValueError: Specify a length > 0

    Returns:
        str: Verified file name
    """
    if len(filename) <= 0:
        raise ValueError('Specify filename')
    if isinstance(filename, str) and '.' not in filename or len(filename.
        split('.')[1]) <= 0:
        raise ValueError('`filename` must be provided & have an extension')
    return filename
