Add support for env files

Hello,

I've added support for .env files including a test.
This is quite a basic implementation so far but it works.

Have a nice day,
Mig