private boolean formatFilePaths(){
		
		//If the inputFilePath is empty turn result false			
		boolean result = true;
		
		if(inputFilePath.equals("")){
			result = false;
		} else {


			String findExtension = "(.*)\\.txt$";
			String pathName = "(.*)[^\\w+\\.txt]";
			String fileName = "\\w+\\.txt$";
			//String findSRC  ="src\\/";
			//String findFile = "(src\\/)?(.*)\\.txt$";
			
			Pattern inputFilePattern = Pattern.compile(findExtension);
			Matcher inputFileMatcher = inputFilePattern.matcher(inputFilePath);
			Matcher outputRuleFileMatcher = inputFilePattern.matcher(outputRuleFilePath);
			Matcher outputErrorFileMatcher = inputFilePattern.matcher(outputErrorFilePath);

			Pattern defPathPattern = Pattern.compile(pathName);
			Pattern defNamePattern = Pattern.compile(fileName);
			Matcher defPathMatcher = defPathPattern.matcher(inputFilePath);
			Matcher defNameMatcher = defNamePattern.matcher(inputFilePath);
			String defPath = "";
			String defName = "";
			if(defPathMatcher.find()){
				defPath = defPathMatcher.group();
			}
			if(defNameMatcher.find()){
				defName = defNameMatcher.group();
				
			}
			
			System.out.println("defPath = " + defPath);
			System.out.println("defName = " + defName);
			if(inputFileMatcher.find()){
				//System.out.println("GROUPED INPUT FILE NAME: " + inputFileMatcher.group(0));
				inputFilePath = inputFileMatcher.group(0);
			}else{
				System.out.println("No input extension is found");
				inputFilePath += ".txt";
			}
			
			System.out.println("Input File Path: " + inputFilePath);
			
			
			
			if(outputRuleFileMatcher.find()){
				//System.out.println("GROUPED OUTPUT RULE FILE NAME: " + outputRuleFileMatcher.group(0));
				this.outputRuleFilePath =  outputRuleFileMatcher.group(0);
			}else if(outputRuleFilePath.equals("")){
				//System.out.println("In this block");
				
				this.outputRuleFilePath = defPath+"rules_of_" + defName;		
			}else{
				System.out.println("No output rule extension is found");
				this.outputRuleFilePath += ".txt";	
			}
			
			
			
			if(outputErrorFileMatcher.find()){
				//System.out.println("GROUPED OUTPUT ERROR FILE NAME: " + outputErrorFileMatcher.group(0));
				this.outputErrorFilePath =  outputErrorFileMatcher.group(0);
			
			}else if(outputErrorFilePath.equals("")){
					//System.out.println("In this block");
					this.outputErrorFilePath = defPath+"errors_of_" + defName;				
			}else{
				System.out.println("No output error extension is found");
				this.outputErrorFilePath += ".txt";
			}
			
			}
		
		
		
		System.out.println("Input Transaction File Path: " + inputFilePath);
		System.out.println("Output Rule File Path: " + outputRuleFilePath);
		System.out.println("Output Error File Path: " + outputErrorFilePath);
		return result;
	}