In fact, I'd suggest this should go in the view, since it doesn't seem appropriate for an API helper namespace. Having `get-file` return a file seems reasonable to me.