using file instead of env