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

Check exists before read file
ci ios branch for build #4484.2