open files through an external process