Print function file selection compat for 2.7