removed "oldstyle" and "newstyle" checkings from write_obs_to_file (it was added for debugging purposes at some point...)