File writer and early options state