remember to use realloc..
start file processing