read the contents of a file on disk at a given path