def extract_name(stringWpath):
    """This task will extract just the name of  specific filename that includes the path in the name: 'stringWpath'.
    
    Tested.
    
    stringWpath : string
        input path to be processed

    Returns
    -------
    stringname : string
        name of string
    """
    while '/' == stringWpath[-1]:
        stringWpath = stringWpath[:-1]
    stringname = stringWpath.split('/')[-1]
    return stringname
