added path param to write
added ignore file