* Since the KIO requires always use "file://" prefix for files and folders, thus to check whether the path is a directory or not "file://" prefix had to be removed and added after checkingneed to know whether path is from local filesystem or a hyperlink