refactor add per letter file generation