Issue: To find out the type of file selected using FileManager in query tool, we use bitwise OR( | ) on two sets which is not working on python-2.6.9 version.
Now we took list of elements instead of sets to fix the issue.
This fix is tested on python-2.6.9, python-2.7.1 & python3.5