empty shade files throw an out-of-memory exception