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


			String findExtension = "(.*)\\.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);

			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";
			}
			
			
			
			
			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 = "rules_of_" + this.inputFilePath;		
			}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 = "errors_of_" + this.inputFilePath;			
			}else{
				System.out.println("No output error extension is found");
				this.outputErrorFilePath += ".txt";
			}
			
			}
		return result;
	}