cleaning model file