edit directory of files