Explicit checks about file copy replaced by implicit exception handling.