#1 Implement basic functions for send batch file