fully working file import