remove file extension from output name