Set environment variables using a file.
Support copying value from env with -e option.