using function without cdvfile prefix.