filenames_from_all_panes = function()
local result = {}
for _,pane in ipairs(Panes) do
if pane.filename then
table.insert(result, pane.filename)
end
return result