I haven't yet figured it out, but, for now, I am directly opening the file that I downloaded using the below code...
File file = new File(path);
Uri uri_path = Uri.fromFile(file);
String mimeType = MimeTypeMap.getSingleton().getMimeTypeFromExtension
(MimeTypeMap.getFileExtensionFromUrl(path));
Intent intent = new Intent(android.content.Intent.ACTION_VIEW);
intent.setType(mimeType);
intent.setDataAndType(uri_path, mimeType);
startActivity(intent);
path = the path of the FILE(not directory) that you want to open.
Will update the answer, if I get to open the directory successfully.