Revert "Delete invokefile.py"

This reverts commit 41517e2111ce964db9f3a102b89eea103f2dc411.