[ticket/12325] Generate the list of the deleted files and folders

(First part)

https://tracker.phpbb.com/browse/PHPBB3-12325

PHPBB3-12325