If a program tries to open and read a file that does not exist, normally an error occurs.
However, there might be times when opening a nonexistent file makes sense. For such cases, use the optional keyword OPTIONAL with SELECT:
SELECT OPTIONAL file ASSIGN TO filename