code: static Profile getProfileFromFileInClasspath(final String filename) {
  
  		Profile result = null;
  
  		try {
  			Properties properties = openProperties(filename);
  			if (properties != null) {
  				String profileFromProperties = properties.getProperty(ProfilePropertyNames.PROFILE_SET_BY_FILE_IN_CLASSPATH_PROPERTY);
  				if (profileFromProperties != null) {
  					// try to convert String to enum value
  					try {
  						result = Profile.valueOf(profileFromProperties);
  					} catch (IllegalArgumentException e) {
  						logger.warn("Tracee custom ContextLoggerBuilder profile property ('"
  								+ ProfilePropertyNames.PROFILE_SET_BY_FILE_IN_CLASSPATH_PROPERTY + "') is set to the invalid value '"
  								+ profileFromProperties + "' and will be ignored");
  					}
  				}
  			}
  		} catch (IOException e) {
  			// ignore it
  		}
  
  		return result;
  	}
docs: Gets the profile defined via the system properties.
  
  @return returns the profile defined via the system properties or {@code null} if property is not set or set to an invalid value.