change truncate to just change filesize when extending it