get import from file or textarea
add some import modes