add xopen like open command