I have this code that works to validate just one input file, but I need to validate multiple fields (since the users can add as much "input files" as they want) an