Get schema by file