Reads a .env file. A missing file gives an empty source unless optional is false, since a local .env usually exists only on developer machines.
.env