A user with the Sitecore/Developer role is able to read any text file on the file system through the Log Viewer application.
To resolve this issue, do not grant users the Sitecore/Developer role if you do not want them to view files on the file system.