reading buffer from file
reading buffer from file