Adding suppport for editing files