filename to object