In the 4th assignment, we are required to create a function to search for specific content within a file and display the search results. How to do that?