title: Getting the Sublime Text recently closed file list with the API
body: <p>Is there any way to get the list of recently closed files using the Sublime Text API?</p>
  
  <p>The SO <a href="https://stackoverflow.com/questions/14225256/where-is-the-list-of-recent-files-stored">Where is the list of recent files stored?</a> question says they are stored in the <code>Session.sublime_session</code> config file, although I think that file is only updated when ST closes and files closed during the current session are in <code>Auto Save Session.sublime_session</code>.</p>
  
  <p>However the <code>.sublime_session</code> files can not be loaded using the API's <code>load_settings(base_name)</code> method. I am not at all sure it would be <em>safe</em> to open a <code>.sublime_session</code> file directly.</p>
  
  <p>You can open the most recently closed files using the following command (indexed from 0)...</p>
  
  <pre><code>sublime.active_window().run_command('open_recent_file', {"index": 0})
  </code></pre>
  
  <p>...but is there a way of getting a list of the recently closed files instead (with the API)?</p>
  
  <p>If not, would it be safe to open <code>Auto Save Session.sublime_session</code> for reading?</p>
  
  <p>Thanks.</p>