Adding slim file support