Store last opened from directory for better usability