truncate tail texts if generated file is shorter than wgeted file