added exists method to IO
Merge pull request #23 from yanhick/io-exists

added exists method to IO