updates enumerator to take either a file path or single host parameter.