lockfile switched to optional, support for single file sync