Improve error handling for schema parsing
Resolve #8 Use absolute path when processing files