File system, based on the spec reference implementation