Adds method to split and strip input config files.

This allows using triple quote variables specifying comma separated
files on different lines.