private static String validateFilePath(String filePath) {
        if (filePath == null) {
            throw new IllegalArgumentException(
                    "Unable to load AWS profiles: specified file path is null.");
        }
        return filePath;
    }
Loads the AWS credential profiles from the file. The path of the file is specified as a
parameter to the constructor.
aws-java-sdk-core/src/main/java/com/amazonaws/auth/profile/ProfilesConfigFile.java