type hint for `$filesystem`?