Another viable solution to get the file-size, that works across many common-lisp implementations on a posix OS, is the package trivial-file-size
.
https://github.com/ruricolist/trivial-file-size
(trivial-file-size:file-size-in-octets #P"/path/to/some/file")