Print the correct file name when removing custom paths