Check exists before read file
Merge pull request #2619 from bootstraponline/read_file_fix

Check exists before read file
ci gappium branch for build #4484.5