See e.g. [this stackoverflow question](https://stackoverflow.com/questions/3098521/how-to-detect-if-a-specific-file-exists-in-vimscript) ```vim :function! SomeCheck() : if filereadable("SpecificFile") : echo "SpecificFile exists" : endif :endfunction ```