Fixed up file resizing.