add for environment and from file methods