sync file cleanup