Fixed the FileDoc not working error.