remove getFileDocument method