Fix import collections from file

Previously was not working, now it does.