Adding File Validation.