removed temporary file writer