put env in a file