Several additions for editing files