def filter_profile_sounds(profile, sounds):
    """
    Returns relative paths to sounds that are the folder specified by the profile.
    :param profile: Str
    :param sounds: List of Str
    :return: List of Str
    """
    if profile:
        filter_lambda = lambda sound: sound.startswith(profile + "\\")
    else:  # ensure sounds don't belong to another profile
        filter_lambda = lambda sound: "\\" not in sound
    return list(filter(filter_lambda, sounds))