uses files instead of vars.