working on better support for imported files