File parsing works correctly now.