[enh] Add check filesize option