Read file contents in class

Change-Id: I6d3b60d663fc5d3380e80312aafcce5bdbcb8acc