Parse file