close file handle after task is done
complete two command tools