opening files to read strored in media folder

So all my text files are stored in media folder I created .
I used a form to upload files.
From view.py of an app, I called a function to open the files .
How to print contents of each file .

Is there any source where we open files in static/media folder and work on them

From the FileField docs, the section FileField and FieldFile shows the methods available to work with files that have been uploaded.

Also see the page Managing Files. The code snippets there show some basic usage.