Added read() support for files
Renamed variable to match style elsewhere