sync with file