test modify a file