supporting file and env patterns
patterns are more defensive
example includes file and env patterns
v0.3.1