added --firstn option to the append and prepend commands. add first n lines of insert file