amending files