change \ to File.separator for cross platform file access
corrected query mistake while vieing pdf