updated files for writ dirs