split mutex into a new file