This is a filer specific function and should be placed in filer.