adjust file position