Now using upload folder as temp file directory.