Separate errors into their own file.