Determine which zeus command to run depending on filetype