Adding validation for all file