Catch errors when files to not exist