store document as absolute path