Fix file_exists
Merge pull request #708 from sanikoyes/Pr-fix-file-exists

Fix file_exists