Now it can open a file through comand-line