Add program to file