Bugfix: case handled where layer file exists but contains no layers