What is the hook to obtain the path and the name of the file that is being uploaded?

What is the hook to obtain the path and the name of the file that is being uploaded?

tech