If no slug it is created from title as described in the documentation. A...

... config parameter has been added to base the slug on the filename.

It changes default behavior so another solution is to default to create the slug from filename (as it does now) and then update the documentation to reflect this. Let me know.