Is it possible to implement a real-time API to read the files on the disk?

Is it possible to implement a real-time API to read the files on the disk?

I would be grateful to have some help with this question.

Best Regards Sunshilong