move doc to separate file