Raise file failed error when create cache file failed