def get_shortest_path(path_list):
    """
    Return the shortest path (the uppest path)
    (Used for find the uppest path for the files with the same filename)

    Parameter
        path_list: list[path-like str], e.g. ["./db.json", "./test/db.json", "./config/db.json"]
    Return
        return the shortest path, e.g. "./db.json"
    """
    path_len = [len(path_i) for path_i in path_list]
    return path_list[path_len.index(min(path_len))]