file_mkpath: add file completion