Use static.
Preprocessing must be applied to destination.
Erase dirpath when there are no marks.