Make find command stop after the first match with -quit

find . -name {{ filename }} -print -quit