added ability to validate only uploaded files