add tmpDirectory to FileUtil