added command line option for easier file usage