@Override
    public void run() {
        File dataFile=new File("C:\\Dropbox\\data.txt");
        try {
            FileReader fr=new FileReader(dataFile);
            char[] c=new char[50];
            fr.read(c);
            String temp=new String(c);
            userName=temp.trim();
            
            File mainFile=new File("C:\\Dropbox");
            String[] list=mainFile.list();
            
            for(String x:list){
                
                new FileUploadUtil(x,userName);
            }
            
            
        } catch (FileNotFoundException e) {
            System.out.println(e.getMessage());
            System.exit(1);
        } catch(IOException e){
            System.out.println(e.getMessage());
            System.exit(1);
        }
    }