shrink metadata size after file size retrieved..