Added sync with file