PIM-3209: Fix import running even with wrong file

*Added verification of the file extention before the launch of the job
*Added new behats in order to verify that the file extention is allowed or not