changed readFile() to initialize()