Only check user functions for filenames.
Merge remote-tracking branch 'lgnome/use-function' into use-function

* lgnome/use-function:
  Only check user functions for filenames.