Implemented all three playfile variations (input/primary/secondary)