procfile read/write implemented