Restore file if an exception occurs during processings.
Remove pointless try catch blocks.
Lookup recent typed paths from the registry.
Ignore invalid paths