fileInfoNode creates a path before trying to write files to it
several changes