def asfolder(folder):
    """
    Add "/" at the end of the folder if not inserted

    :param folder: the folder name
    :type folder: str
    :return: file names with / at the end
    :rtype: str
    """
    if folder[-1] != "/":
        return (folder + "/")
    else:
        return (folder)