Instead of using Lua to search through all buffer lines and match the file line containing the filename, instead use `search()` and wrap the filename in word boundry delimiters `\<\>` to always match the whole filename not a subscript. This also moves the cursor to that position in the file.