ffap-file-at-point

ffap-file-at-point is a compiled Lisp function in `ffap.el'.

(ffap-file-at-point)

Return filename from around point if it exists, or nil.
Existence test is skipped for names that look remote.
If the filename is not obvious, it also tries `ffap-alist',
which may actually result in an URL rather than a filename.