public void getObjectsFromCategory(JSONObject project, JSONObject category, String parentName) {
		JSONObject filesMainObject = (JSONObject) getAllFilesFromProject(project.getString("id"));
		JSONObject innerProject = (JSONObject) filesMainObject.get("project");
		JSONArray filesArray = (JSONArray) innerProject.get("files");
		Iterator k = filesArray.iterator();
		while (k.hasNext()) {
			JSONObject singleFile = (JSONObject) k.next();

			if (category == null) {
				JSONObject customCategory = new JSONObject();
				customCategory.put("id", "");
				customCategory.put("name", "");
				category = customCategory;
			}
			if (singleFile.get("category-id").equals(category.get("id"))) {
				JSONObject finalFile = getFinalFileObject(singleFile.getString("id"));
				JSONObject finalFileContent = (JSONObject) finalFile.get("file");

				String fileName = finalFileContent.getString("name");
				boolean doContinue = false;
				for (String s : ignoreFiles) {
					if (fileName.equals(s)) {
						doContinue = true;
					}
				}
				if (doContinue) {
					continue;
				}
				System.out.println("<- File: #"+globalFileCounter++ +" ->");

				fileName = fileName.replaceAll("\\s{2,}", " ");
				if (!fileWasUploaded(fileName, project.getString("name"),
						category.getString("name"))) {
					dfftw.DownloadFileFrom(finalFileContent.get("download-URL").toString(),
							fileName);
				} else {
					System.out.println("File with name: \""
							+ (isMp4(fileName) ? cut.modifyName(fileName, 1) : fileName)
							+ "\" and parent page name \"" + category.getString("name") + "\" has been already added to confluence. I'm skipping it.");
					continue;
				}
				uploadToConfluence(fileName, category.getString("name"), project.getString("name"));
			}
		}
	}