add function "write to local file approximately"
Merge branch 'dev' of https://github.com/phoenix747/plumber into dev