Trying to fix the cannot access file error issue.