Basic file IO example