The file you use for taking the screenshot should ideally be called "sample.odt" (or whatever extension)