We should document the `filename` parameter in the docstring properly.