Bugfix: wrong variable name in deleteThesis file handler