added ability to create file in a specific folder, overwrite rows when run twice, updated version