took out writing files