added OS delimiter detection