Now reads correctly from the file and a basic query works