I think that it might be possible to create a Generico filter that would let you set a time of day access setting to control when an item, such as a file, is visible and when it is hidden. It would also need to be based on whether the user is a student or teacher in the course.