Read file and parse it as json