Import files is now properly handled, storing of file ids reset