Add file suffix to the query file name based on chosen file filter if the suffix is not supplied