Added the filter to not consider files when double clicking

Now only folders are opened.