Added basic read data (in form of buffer) from file