Improved error handling in get() (skipping to the next file instead of script crash)