Rename video file based on folder name

Hi,
Is there a way Hazel can rename a video file name based on the name of the folder in which that file is located?
Example: the file "nameoffile.mkv" is stored inside the folder "The Wolf of Wall Street"
I would like Hazel to rename "nameoffile.mkv" to "The Wolf of Wall Street.mkv"
Any help would be much appreciated.
Thank you very much.
Kind regards
Is there a way Hazel can rename a video file name based on the name of the folder in which that file is located?
Example: the file "nameoffile.mkv" is stored inside the folder "The Wolf of Wall Street"
I would like Hazel to rename "nameoffile.mkv" to "The Wolf of Wall Street.mkv"
Any help would be much appreciated.
Thank you very much.
Kind regards