# How to automatically save in separate files?

**URL:** <https://discourse.mitmproxy.org/t/how-to-automatically-save-in-separate-files/1257>\
**Category:** help\
**Created:** [October 1, 2018, 2:33pm UTC](https://discourse.mitmproxy.org/t/how-to-automatically-save-in-separate-files/1257 "2018-10-01T14:33:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mega1024](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@Mega1024](https://discourse.mitmproxy.org/u/Mega1024)\
**Post date:** [October 1, 2018, 2:33pm UTC](https://discourse.mitmproxy.org/t/how-to-automatically-save-in-separate-files/1257/1 "2018-10-01T14:33:40Z")

</div>

New to mitmproxy, got a basic regular proxy working.

I want to automatically (non-interactively) save all requests with the request/headers in one file, the response headers in another, and the response body in another, and I’m a bit overwhelmed and unsure how to even begin.
