bash add comments and check file existance;