Added option for modifying content of file