recursively create files pointed to by other files