write pois in seperate file