randomly access, modify file