update to check file creation