Is it a file from the student themselves or could it be a file shared from externally or a staff member perhaps?
To me it sounds like Context Aware Access settings are applied to the file based on the owner, and thus I suspect an external file or a staff member who does have limitations applied through CAA maybe.