Main file modification