optimization: refactor file creation process to avoid a second iteration through the containing directory
bump rev for add file optimization