detect and throw when importing file in circular way