dot-fileio.optional function

Helper function to harmonize treatment of file import results