Rewrite warning/error logging; use getline instead of fgets
Readd function to read arc files