\documentclass{article}
\usepackage[backend=biber]{biblatex}
\addbibresource{foo.bib}
\begin{document}
foo\cite{TeXbook}
\include{sub}
\printbibliography
\end{document}

.
