Fix import file handler