Setup folders for backup directory, undo file and swap file