use universal way to filter filesize