control file basename extraction