added a validator for formidable type files isFile