Turns out there was an easier way to read the env file.