fix for the case file not being exist