Fixed assert.files deprecated.