fixed filePath to save non-existing document

saves at the correct location and not in the root folder