text: #pragma once
  #include <iostream>
  #include <string.h>
  #include <fstream> 
  using namespace std; //TODO delete this
  
  class File
  {
  private:
  	char filename[50];
  	FILE *f;
  	struct stat buff;
  	int numChars = 0;
  	int numWords = 0;
  	int numLines = 0;
  	char filename2[50];
  public:
  	File(char *_filename);
  	~File();
  
  	void setFileName(char *_filename);
  	void setFileName2(char *_filename2);
  
  	void open(void);
  
  	void stats(void);
  
  	void setNumChars(void);
  	int getNumChars();
  
  	void setNumWords(void);
  	int getNumWords();
  
  	void setNumLines(void);
  	int getNumLines();
  
  	void numberingLines(void);
  
  	void uppercase(void);
  	void lowercase(void);
  
  	void removeBlankLines(void);
  
  	void replaceTabsToSpaces(int spaces_c);
  
  	int countTimes(string keyword);
  
  	void removeKeywords(string keyword);
  
  	void replaceKeywords(string keyword, string keyword2);
  
  	void findKeywords(string keyword);
  
  	void showLinesFromStart(int n);
  
  	void showLinesFromEnd(int n);
  
  	void success(void);
  
  };