parses craft files