Modify file element so panel inclusion is optional