Creates a new file with an updated filename

import { updateFilename } from 'filepond/utils';

const renamedFile = updateFilename(myFile, 'new-name.txt');