private void uploadMp4File(String projectName, String categoryName, String fileName) {
		File f = new File("./temp/");
		String path = f.getAbsolutePath() + "\\";
		cut = new Cut(fileName, path);
		int numberOfFiles = cut.start();

		for (int i = 0; i < numberOfFiles; i++) {
			boolean fileUploaded = false;
			String modifiedFileName = cut.modifyName(fileName, i + 1);			
			
			if(cm.fileWasUploadedBefore(projectName, categoryName, modifiedFileName)) {
				continue;
			}

			
			int counter = 1;
			while (!fileUploaded && counter <= ATTEMPTS_TO_UPLOAD) {
				cm.addAttatchmentToPage(projectName, categoryName, modifiedFileName);
				fileUploaded = cm
						.fileWasUploadedBefore(projectName, categoryName, modifiedFileName);
				System.out.println("File uploaded [" + fileUploaded + "]");
				if(fileUploaded)
					uploadedFiles.add(modifiedFileName);
				counter++;
				if (counter == ATTEMPTS_TO_UPLOAD+1) {
					notUploadedFiles.add(modifiedFileName);
					System.out.println("NOT UPLOADED FILES: ");
					for (int j = 0; j < notUploadedFiles.size(); j++) {
						System.out.println(j + " " + notUploadedFiles.get(j));
					}
				}
			}
		}
	}