Text this: Characterization of Thin Films for Solar Cells and Photodetectors and Possibilities for Improvement of Solar Cells Characteristics