creating file: foo/bar.txt