adding writer file