Anchor helper to file rather than directory