Add file output capabilities to soaap binary