Allow files to be in subdirs in files/ dir

This allows files to be in subdirs in the `files/` dir.

Sorry for the lack of test, but I don't know how to write unit test for this.