file2folder() fix