modify local file