The importIdx function did not return any error for an nonexistent file. An error message was added in this case.