Removed unused reading from file

Removed unused code.