add one line to file method
complete merge