Fixed exiting when files not found.