Tidy up handling based on HTTP method.
Rename fsContext to fileSystem.