read files in import.cpp
Merge branch 'import_inside'