AbstractFile class set to abstract class