Need to fix reading from file.