debug test in file creation