Fixed a bug in import files.