[RFC] try to open cached file if the file is cached previously

This PR does not work as expected (it still downloads the file each time which clicking it in "Modification Details" dialog). I suspect it has something to with the code here.

I suggest use `::getParentPath` and `::getBaseName` to extract parent/base from a full path, instead of doing string operation.