def METHOD_NAME(module):
    # run garbage collection to release file on windows
    gc.collect()
    fs = [f for f in [FILENAME_STACK_RAW, FILENAME_MAP_RAW] if f.exists()]
    for f in fs:
        # remove file
        f.unlink()