added the functionality to insert in the database the imported file BUT it still needs work