Better error handling

It just skips the files & gives a warning