Add validator for file upload and respective script.