if file was downloaded then cancel download