shotop: clear master file before program runs so api doesn't have extra data