sync `file` with base