@WIP: Add validation to csv import based on content type.

#6054 

WIP

Validation of uploaded CSV file is performed according to the content type.
I think we can remove all this part since we have fields validation.