filesize -package:basement -package:ghc-lib -package:stack -package:tar-conduit package:directory

Obtain the size of a file in bytes.