Check If file exists - functionGlobalContext

This may help: