file io tutorial + random text file