         x = store.open_files_order
         index = x.indexOf(path)
         if index != -1
-            open_files = store.get('open_files')
+            open_files = store.open_files
             is_public = open_files.getIn([path, 'component'])?.is_public
             @setState
                 open_files_order : x.delete(index)

                store = @get_store()
                if not store?
                    cb("store no longer defined"); return
                path         ?= (store.get('current_path') ? "")
                sort_by_time ?= (store.get('sort_by_time') ? true)
                show_hidden  ?= (store.get('show_hidden') ? false)
                get_directory_listing
                    project_id : @project_id
                    path       : path

            max_output      : max_output
            bash            : true
            err_on_exit     : true
            path            : store.current_path
            cb              : (err, output) =>
                @process_results(err, output, max_results, max_output, cmd)

