I should think you would also be able to loop through the file contents and execute each query iteratively.