modify path
remove temp file