Added file example
Added exception example
Added socket example
Added theading example