Methylammonium lead iodide (CH3NH3PbI3) and chloride (CH3NH3PbCl3) hybrid compounds when mixed are attractive materials for their possible application to highly efficient solar cells. In principle, the optoelectronic properties of these mixed materials may be controlled in a wide range. In addition, the chlorine presence also may help improving the thermal and chemical stability of the material as compared to pure methylammonium lead iodide, which is the main absorber perovskite material for which high cell efficiencies have been reported. With this purpose, in this work, a study of mixed methylammonium lead iodide and chloride perovskite thin films were prepared by a single step method, using PbI2 and CH3NH3Cl + CH3NH3I as precursors in a solution under ambient conditions. The ratio of CH3NH3Cl to CH3NH3I was changed in the precursor solution causing the presence of CH3NH3PbI3 and the manifestation of CH3NH3PbCl3. The scanning electron microscopy images show improved coalescence of the crystallites when increasing the chlorine precursor correlated with a better superficial coverage in the films. It is also shown that the effective bandgap, as determined by optical measurements, is also changed in the range between 1.5 and 1.6 eV, as a function of the composition in the film. Complementary Electron Dispersive X-ray Spectroscopy and Raman spectroscopy measurements confirmed a variation of the halide compounds present in the films.