private boolean setupFileLogger() throws SGLogConfigurationException
	{
		
		Logger fileLogger = ((SGLogger)sgFileLogger).getLogger();

		try {

			if (!sgDirectory.exists()) {
				sgDirectory.mkdir();
			}
			
			if (!sgDirectoryLogs.exists())  {
				sgDirectoryLogs.mkdir();
			}
			
			fileHandler = new FileHandler(sgDirectoryLogs + File.separator + sgPrefix + "-" + this.getTimeStamp(sgDateFormat) + "-%g" + ".log", 1000000, 7, true);
			fileHandler.setFormatter(new SGLogFormatter());

			fileLogger.setUseParentHandlers(false);
			fileLogger.addHandler(fileHandler);
			
			return true;
			
		} catch (SecurityException e) {
			throw new SGLogConfigurationException("Failed to setup file logging. | " + e.getMessage());
		} catch (IOException e) {
			throw new SGLogConfigurationException("Failed to setup file logging. | " + e.getMessage());
		}
	}