Although there is currently no built-in option to delete the file path list within the STM32CubeProgrammer, it is possible to edit it manually in the file config.properties. There you will find a line beginning with downloadFileList= which lists the complete paths of the last files separated by commas. In Windows, this file is typically located in the directory
%USERPROFILE%\STMicroelectronics\STM32CubeProgrammer
%USERPROFILE% refers to your own user directory, where settings for various programmes are typically stored. Simply paste this path into the address bar of Explorer and press Enter.
WARNING: You are fully responsible when accessing this directory, so please be very careful not to destroy your settings or those of the respective user.
Hope that helps?
Regards
/Peter