Add a function to parse a collection of strings as files with includes.

This is useful for RPC.