Revert "Copy filename (from list) so we can free it in its entirety"

This reverts commit 34689cbd9dc1c4c852d9a1ef568553ce825b8f08.