Created abstract class FileHandler