Updated AnnotationRetriever to take data from input file instead of database