A method is provided for producing a thin film product, comprising a first step in which an underlying substrate of a first material is provided. The underlying substrate includes a plurality of unmodified sites. The underlying substrate is then chemically modified wherein a plurality of organic functional groups are attached to a plurality of the unmodified sites. The arrangement and type of the functional group used can be selected for the purpose of controlling particular properties of the second material deposited. A thin film layer of at least one second material is then deposited onto the chemically modified underlying substrate. This can be accomplished by connecting the thin film to the underlying substrate by binding the thin film to the functional groups.