The `q.Document()` method does not recognise capitalised file extensions, e.g. .JPG instead of .jpg. Which are outputted by some cameras.