Add define for read-only file access mode
Add define for UINT8_MAX