Let's say that I'm downloading a file and at the same time I want to read it but that the file content always get updated.
For example let's assuming that I start read the file when the progress bar was at 60% is there a way to read and wait at the same time for the remaining part which is the 40% of the file content that is currently downloading.

I tired the normal reading method in python:

```
with open('downloadingfile.mp4', 'rb') as f:
   data = f.read()
   # remaining code which is not important

```