Added functionality to save folder name