removed local folder for tests. Fix creating file in subfolder