Added feature to supply file when running the program