[demo] adds directory support for recordings