This article explains how to use filetype in a Google search so that results include only files. When using Google to find files, you can find books, documents, sheet music, Microsoft Word files, and more.
The filetype command is used to perform a Google file search. When you use that operator in your searches, the file extension you append to it will immediately limit all results to just that file type.
For example, you can search for PDFs on Google if you're looking for books in that file format:
After the file type comes the search term that Google should search for in the files.