Fixed the "FileAccessDenied" exception problem.