changing the directory contents