Cancel Rename operation in Post callback

Hello. Can I cancel file rename operation inside PostOp Callback?Suppose I download file from internet. MS Edge ,Firefox etc browser download files block by block and at the end they rename file.After rename operation I search pattern inside file and cancel operation or can I delete this file after?can it make any problem?