change open(o) to create(c)
add exec to execute a file

you can specify a name and last Nth