Implement filesystem services, and the required kernel objects.

Please wrap the `else` branch in braces, too, if the `if` branch is also doing this.