ready for file writer