Added cmd functionality to GET requests for getting info about filesystem structure.