When I'm trying to print from a file, I get: io.UnsupportedOperation: not readable How can I print the file content?