rm .bak and .lock