build fresh file first