Updating file position