fixed importing top level item for images and files