private String getNameFromFilePath() throws InvalidRpcDataException {
   
        List<Download.File> files = getFiles();

        if (!files.isEmpty()) {
            int index = files.get(0).path.lastIndexOf("/");
            return files.get(0).path.substring(index + 1);

        } else {
            return null;
        }
        
    }