fixed proc_table_file, reworked add_newline, removed some camel case
removed some more camel case