Main.java support file mode
Merge pull request #8 from imasahiro/support_file_loading

Support file mode