testing magic call for file handler