replace SpoonFile and SpoonDirectory with the Filesystem component