I usually use the chat interface and pass my files wrapped in triple back-ticks like (```python). A `--format-codeblock` option could be the interface.