refactor Labfiles