Added else clause to input file(s) build logic