Try to use the ST3 project_file_name API, fallback to window.folders()[0] for ST2