Properly implement read() from DBStoredFile