Make filenames carry directory name.