calls an external program with parameters specified in a file