Edit file directly