added chown to change permissions to diff file