adding files to the queue before importing