Adding code to create directory for saving recordings.