Changed write to append for open() FES