Don't create directories if there are no files within them.