added detail parameters for file & image validator