Changed to take in file

Chanaged input from string to file