docfile validation solved