fix scoping issue.
parameterise File, add Exec to base