correcting docs properties.saveTo takes a file path as string, not a file