change the source from system.in to file