Manual:Hooks/FileUpload

Details
$file - The LocalFile object.

The return value of this hook is ignored.