To delete files in the query library that are no longer needed, delete them in Tool #1980 Manage My Data Tables.  When in the screen, select from the list and under Options select Delete.