Fix deprecation warning

File.exists is deprecated
Merge pull request #26 from eddiezane/master

Fix deprecation warning