moving files to dirs.