def retrieve_tstat_id(file):
    """
    Remove thermostat id from file name

    Inputs:
    -------
    file -> file name

    Outputs:
    --------
    -> thermostat identifier string
    """
    tstat_id = file.split(".")[0]
    return tstat_id