Added " to file name in search and result
When quitting, we close all the connections