Deleting file baseclass