using sout only to serve file