catch exception when only one file and does not exist