Improved input of multiple subfiles.