If you select Restricted Access in the Access menu, you can select how to provide access to the file.
The Only available to students with link option [1] makes the file available to students who are given a link to the file. The file will be hidden to students in Course Files.
The Schedule student availability option [2] gives students a window of time to view the file. If you select this option, the file can be viewed by students in Course Files as well as anywhere in Canvas (such as when the file is added to Modules or Assignments), but the file will be locked and they cannot view the actual file until the specified date.
Note: The Only available to students with link option only applies to Course Files; if you add this file to another area of Canvas, such as Assignments or Modules, all students can view the file.