make the path and filename configurable as well