Disregardable nit: this might be clearer as a static method that accepts a RollupFile instance instead of being an instance member.