Move createFilesFromTree to fileSystem bag