getCommand from every folder