Add support for flat file lists and add tests for filescheme.