public static String getProfileName(File profileFile) throws HyscaleException {
        return get(profileFile, HyscaleSpecFields.environment);
    }
Gets profile name from profile file.
1.returns profile name if present with the key @HyscaleSpecFields#environment.
2.else returns null when file is null or throws relevant HyscaleException.

@param profileFile
@return profile or environment name
@throws HyscaleException
workflow-controller/controller-service/src/main/java/io/hyscale/controller/util/ServiceProfileUtil.java