const ext = (fileName) => fileName.split('.').pop();
const ext = (fileName: string): string => fileName.split('.').pop();