save filename
add spec
mark as dirty