don't create annotation file when in read-only mode

Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>
return no annotations if annotation file does not exist

Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>