def extractStationsFromFile(stations_file):
    """
    Reads file and extracts stations to a list.
    """
    df = open(stations_file)
    station_ids = df.read().split()
    df.close()
    return station_ids