and how to write that file .. what commands to use and the syntax needed ?