[fix] file object != str; more verbose