Observation of structural changes in carbon films under external influences