Support building separate files

Instead of the concatenated contents, this returns the file contents as an array with a file name. Pull request for `component` coming up soon.