Recursively adding input files