restoring uploads directory