Made read_proc function do things.