Faster file generation