[Enhancement] queryOutput files are written into a specific folder