modify directory of files