Not essential, but here is a replacement FileDocument that is smart enough to use the filename as a title if no other title metadata was found