Remove strict option and smartly decide the file type validation
The strict option was introduced in the last release and was never documented. We have removed this option and smartly validate the file type using the best available validation option