Actually takes args, retrieves data, and writes it to disk