Just straight up wasn't designed to let you read files!
This level has a "decoy" solution that looks like it leaks the flag, but is not correct.
If you're submitting what you feel should be a valid flag, and the dojo doesn't accept it, try your solution against a file with uppercase characters to see what's going on.