FIX: deal with case when optfile.m does not exist (or is unreadable)