add read only file writer