added createFileAsync() version of file creation