@SuppressWarnings("resource")
	@Override
	public JsonObject getData() {
		JsonObject json = new JsonObject();
		
		checkFile(config.getPath());
		File file = new File(this.config.getPath());
		
		try {
			
			if(file.isFile()){
				json = read(file);
			}else{
				json = readFiles();
			}
			
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		return json;
	}