That's very nice and compact. I do the same with a short bash script, but wrap each file in triple-backticks and attempt to put the correct language label on each eg:
Filename: demo.py
```python
...python code here...
```