allowed for iterating through each file input in demo