add deletefile test
add temp file test