Implement 'Exploding file' concept

See discussion in #373 and [this google doc](https://docs.google.com/document/d/16SGZ8z9nDNotfQTTWGQoCbqxYLbYnavjO4nJbRfFZfE/edit?usp=sharing)