Small typo

Entity has $file while yml has filename
Merge pull request #1907 from wilson12/patch-1

Small typo