updates file type for sql answers