Modify file on UNIX