(define-module (file-reader) #:export (read-file-to-bytevector)) (use-modules ;; for bytevector operations (ice-9 binary-ports)) (define read-file-to-bytevector (λ (path) (call-with-input-file path get-bytevector-all)))