edit files in place