Create Query abstract class and change same filenames