use file.Truncate and Seek to trunc file and relocate