Update and rename temp_files.sql to temp_queries.sql