Generating distribution files