added file or url validator in document create page