Check if expand is used to define files