Add maxSize for FileValidator and added ImageValidator