Changed constuctor to get all the data needed
Using new importFiles constuctor