def CheckToDelete(MasterStationList,data_files):
    """
    Extract file names on server, and check if any which are not in
    master station list

    These already may not exist on the local system
    """

    RemoteStations=[]

    for dfile in data_files:
        RemoteStations+=[dfile.filen.split('.')[0][:-5]]

    StationDeleteList=[]
    for station in MasterStationList:
        if station not in RemoteStations:
            StationDeleteList+=[station]
 
    return StationDeleteList