Throwing error in case annotation file contains no labeled entries