I'm not sure if there is any valid reason for empty size. If missing size is acceptable it can be handled  by overriding getFileInfo for this class.