added formatFilesize method