Adding path to write files according bbb