Implement filesystem services, and the required kernel objects.

Shouldn't this function return if the file isn't open?