output control flow, file output destination by argument