use file object instead of string