add shebang
actually read a file
encoding fixes