also open file during do_install