this is weird. you're now writing the all files twice.