closed_files now returns filename (basename) not the full file path