Now DITM can replace the response with another response from given URL.
https://github.com/arai-a/ditm#replace-the-response-with-another-remote-file
If you want to replace with local file, using a local web server is an option.
https://github.com/arai-a/ditm#replace-the-response-with-local-file