Add function which generate the station file