fr/c/comp_filetype: Completed get_components method and tested