Fixes wrong variable name for the file reference