added code to delete individual query files that were created from an initial file containing multiple queries