This is far too broad a question for a forum like this. You need to do some research of your own on the individual parts of the project, such as
- listing all files in the directory tree
- searching individual files for text
- opening and reading file content
- displaying specific parts of the file
- etc ... etc