add function for executing current file