filesize -package:basement -package:ghc-lib -package:pantry package:directory

Obtain the size of a file in bytes.