Not working. Have to look at this. `$filename` aka `$thumbnail` is incorrect. Just remove the `@` in front of the `unlink`.
Have to refactor to make code more readable and variable naming more consistent