I think the following reads better:

```
 if old_file_type is not new_file_type: