Renaming query file.