def get_corners(fileName):
    """Gets the corners of a map (coordinates file) for plotting purposes.

    Parameters
    ----------
    fileName : fileName
        List of coordinates to get the boundaries from (lat, lon) rows.

    Returns
    -------
    list
        List of minMaxLongs & minMaxLats.

    """
    lats = []
    longs = []
    clusterData = open(fileName, 'r')
    next(clusterData)
    for line in clusterData:
        tokens = line.split(',')
        lat, long = float(tokens[1]), float(tokens[2])
        lats.append(lat)
        longs.append(long)
    minLat = min(lats)
    minLong = min(longs)
    maxLat = max(lats)
    maxLong = max(longs)
    return [[minLong, maxLong], [minLat, maxLat]]
