To help keep libraries organised and up to date, the function to purge delete all unused libraries rather than having to delete line-by-line.