Collects information on system and writes to file for API usage or surveillance