Corrected the directory name to save files.