update file-string