added tmp file for uploads directory