changed hook function name to freezer hook. Working on getting file name from file struct