fixed file_exists function
Merge pull request #13 from techiemonsta/push-to-dev-fixes

fixed file_exists function