textfile directory update