Links to file entity

Patch fixes so one can link directly to file entity
Merge pull request #2 from warvik/patch-1

Links to file entity