Making file edition work