Please use os.remove() instead.