public static Document fileToDocument(File dataFile){
		Document doc = new Document();
		//LuceneеField
		doc.add(new Field("title", dataFile.getName(), Store.YES,
				Index.ANALYZED));
		doc.add(new Field("link", reader(dataFile, "link"), Store.YES,
				Index.ANALYZED));
		doc.add(new Field("content", contentReader(dataFile), Store.YES,
				Index.ANALYZED));
		doc.add(new Field("size", NumberTools.longToString(dataFile.length()),
				Store.YES, Index.NOT_ANALYZED));
		doc.add(new Field("path", dataFile.getAbsolutePath(), Store.YES,
				Index.NOT_ANALYZED));
		return doc;	
	}