update file mode for tests_plan