Implementing readind data from proc file.