Optimizing ImportFile