public void setJSONList (JSONObject obj) {
        
        try {
            
            JSONArray fileList = obj.getJSONArray("files");
            
            if (fileList.length() > 0) {
                 
                for (int i = 0; i < fileList.length(); i++) {
                    JSONObject single = fileList.getJSONObject(i);
                    
                    /**
                     * JSONObject omzetten naar gewenste types
                     */
                    String filename = (String) single.get("filename");
                    Integer size = (Integer) single.getInt("size");
                    String last_update = (String) single.get("last_update"); // 2013-10-27 22:24:02
                    
                    
                    try {
                        Date update = new SimpleDateFormat("Y-M-D h:m:s").parse(last_update);
                        this.files.add(new AppFile(filename, size, update));
                    } catch (ParseException p) {
                        System.out.println("Date: " + p);
                    }
                }
            }
        } catch (JSONException jse) {
            System.out.println("jse: " + jse);
        }
    }