Edit file