abstracting the file get process to account for local filesystem gets, later on
continuing work on index.html