def METHOD_NAME(files_list, folders_list):
    for file in files_list:
        os.remove(file)
    for folder in folders_list:
        shutil.rmtree(folder, ignore_errors=True)
    logger.info("Files successfully written to server. Everyting removed from /data.")