rename `name` option to `filename`