def __trimTrailingSlash__(args):
    """
    Takes in a list filepaths and removes any trailing /'s

    :param arg: list of string file paths
    :return: list of filepaths with trailing /'s removed
    """
    for i in range(len(args)):
        if args[i][-1] == "/":
            args[i] = args[i][:-1]
    return args