added imported file support