parse files properly and now i'm ready to actually process them