Don't exit on errors encountered in parsing files. Move to function.