fromFile
This function returns a CompilationDatabase from the specified file. OOptionally, if filterComponents is not-null, it can be used to filter specific components from the compilation database. This is useful if you want to ignore tests or focus on a main library component.