chickadee » scheme » file » open-binary-input-file

open-input-file stringprocedure
open-binary-input-file stringprocedure

Takes a string for an existing file and returns a textual input port or binary input port that is capable of delivering data from the file. If the file does not exist or cannot be opened, an error that satisfies file-error? is signaled.