add support for load file, including some process interaction