major: cleanup / rewrite of cal_nlk_fsi and save_fields_new_fsi, minor: some file checks