Main files of the working algorithm