I wouldn't actually say `If the resourceSubType is file`, as this is basically repeating what the code is already saying. Just saying

```
When we are dealing with a file, new versions can be uploaded and the revision history can be shown
```

would be better.