Change document is file to document has file