prepare for file copy events