Remove rootpath from output filename